﻿using System;
using System.Collections.Generic;
using Assist;
using Autodesk.Revit.DB;
using YJKGeometryFuncs;

namespace YJKPatternSign.StairsRoomPlanSign.ModelLayer
{
	public class XYZCompare : IEqualityComparer<XYZ>
	{
		public bool Equals(XYZ x, XYZ y)
		{
			return Geometry.Lessthan_Or_Equal(x.DistanceTo(y), AssistFunc.mmToFeet(1.0));
		}

		public int GetHashCode(XYZ obj)
		{
			return -1;
		}
	}
}
